package com.cs.beneficios.web.form;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
//import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;

public class MostAtriForm extends ActionForm 
{
  /**
   * Reset all properties to their default values.
   * @param mapping The ActionMapping used to select this instance.
   * @param request The HTTP Request we are processing.
   */
  public void reset(ActionMapping mapping, HttpServletRequest request)
  {
    super.reset(mapping, request);
  }

  /**
   * Validate all properties to their default values.
   * @param mapping The ActionMapping used to select this instance.
   * @param request The HTTP Request we are processing.
   * @return ActionErrors A list of all errors found.
   */
  public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
  {
    return super.validate(mapping, request);
  }
  
  private String strCodigo;
  private String strNombre;
  private String strEtiqueta;
  
  public MostAtriForm(String strCodigo, String strNombre, String strEtiqueta)
  {
    this.strCodigo=strCodigo;
    this.strNombre=strNombre;
    this.strEtiqueta=strEtiqueta;
  }
  
  public String getCodigo()
  {
    return strCodigo;
  }
  
  public String getNombre()
  {
    return strNombre;
  }
  
  public String getEtiqueta()
  {
    return strEtiqueta;
  }
}